<template>
  <div>
    News页面
    <div>
      标题：{{ route.query.title }}
      内容：{{ route.query.content }}
    </div>
  </div>
</template>

<script lang="ts" setup>
import { ref, toRefs } from 'vue'
import { useRoute } from 'vue-router'

let route = useRoute()
console.log("route", route)
let { query } = toRefs(route)
</script>

<style lang="scss" scoped>

</style>